package com.tanfuqi.sicent.protocol.message

import com.fasterxml.jackson.annotation.JsonProperty
import io.swagger.annotations.ApiModelProperty

open class TempRecharge (): Body {
    constructor(cardId: String, orderId: String, payFrom: String, memo: String, amount: Double):this() {
        this.cardId = cardId
        this.orderId = orderId
        this.payFrom = payFrom
        this.memo = memo
        this.amount = amount
    }

    @ApiModelProperty(name = "卡号", example = "400402123456789012", hidden = true)
    var cardId: String? = null
        @JsonProperty("card_id")
        get
    @ApiModelProperty(name = "订单号", example = "00000001")
    var orderId: String? = null
        @JsonProperty("order_id")
        get
    @ApiModelProperty(name = "支付来源", example = "现金")
    var payFrom: String? = null
        @JsonProperty("pay_from")
        get
    @ApiModelProperty(name = "备注", example = "备注")
    var memo: String? = null
    @ApiModelProperty(name = "充值", example = "10.00")
    var amount: Double? = null
}
